@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --main-color: #F45804;
    --sub-color: #FDB231;
}

body {
    padding: 0;
    margin: 0;
    background-color: #f6f6f6;
}

* {
    box-sizing: border-box;
    --n-border-focus: var(--main-color) !important;
    --n-border-hover: var(--main-color) !important;
}


a {
    text-decoration-line: none;
}

.n-select>div:hover {
    --n-border-focus: var(--main-color) !important;
    --n-border-hover: var(--main-color) !important;
}

.black-popover .n-popover__content {
    font-size: 14px;
    background-color: #000;
    color: #fff;
    font-weight: 300;
    border-radius: 20px;
    padding: 4px 11px;
}

.black-popover .n-popover-arrow {

    background-color: #000 !important;

}

.float-wrapper {
    position: absolute;
    font-size: 0;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 100%;
    color: var(--main-color);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding-left: 2px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

}

.float-wrapper:hover {
    background: var(--main-color);
    color: #fff;
}

.n-tabs-bar {
    background-color: var(--main-color) !important;
}

.n-breadcrumb .n-breadcrumb-item__link {
    background-color: transparent !important;
}

.n-upload-dragger {
    border-width: 2px;
}

.header-category .n-scrollbar-rail__scrollbar {
    z-index: 2 !important;
}

@media screen and (max-width: 1399px) {
    .w {
        width: 1200px;
    }

    .text-\[22px\] {
        font-size: 20px;
    }

    .text-\[20px\] {
        font-size: 18px;
    }

    .text-\[18px\] {
        font-size: 16px;
    }

    .text-\[16px\] {
        font-size: 14px;
    }

    .text-\[14px\] {
        font-size: 12px;
    }

    .banner-wrapper {
        width: 890px;
        height: 514px;
    }

    .banner-right>div {
        height: 82.8px;
    }

    .banner-right>div>div {
        font-size: 17px;

    }

    .banner-right>div .title>div:last-child {

        font-size: 14px;
    }

    .banner-right>div .icons {
        padding: 0 12px;
        width: 84px;
    }

    .footer-content-wrapper .w-\[300px\] {
        width: 260px;
    }

    /* .footer-content-wrapper .text-\[22px\] {
        font-size: 18px;
    }

    .footer-content-wrapper .text-\[16px\] {
        font-size: 14px;
    } */

    .footer-content-wrapper .gap-4 {
        gap: 0.84rem;
    }

    .page-goods .w-\[560px\] {
        width: 483px;
    }

    .page-goods .h-\[560px\] {
        height: 483px;
    }

    .page-goods .w-\[80px\] {
        width: 67px;
    }

    .page-goods .h-\[80px\] {
        height: 67px;
    }

    .page-orderlist-wrapper .w-\[600px\] {
        width: 400px;
    }

    .menu>div {
        font-size: 16px !important;
    }

    .page-submit-order .w-\[150px\] {
        width: 120px;
    }

    .page-submit-order .w-\[260px\] {
        width: 180px;
    }



    .menu .n-collapse-item__header-main {
        font-size: 16px !important;
    }

    .wrapper .compare-wrapper {
        width: 120px !important;
        font-size: 16px !important;
    }
}

/* 1.16 */
@media screen and (min-width: 1400px) {
    .w {
        width: 1400px;
    }

    .banner-wrapper {
        width: 1038px;
        height: 600px;
    }

    .banner-right>div {
        height: 100px;
        width: 338px;
    }

    .banner-right>div>div {
        font-size: 20px;

    }

    .banner-right>div .icons {
        padding: 0 16px;
        width: 104px;
        font-size: 0px;
    }

}